package generics.InterfaceGenerics;

public class Test {
    public static void main(String[] args) {
        StudentData sd=new StudentData();
        TeacherData<Teacher> td=new TeacherData<>();
        sd.add(new Student());
        td.add(new Teacher());
    }


}
